local weaponDefs = {
  C_GRENADE_HELICOPTER = {
    name                    = "Tree-Barreled Grenade Launcher",
    weaponType              = "Cannon",
    turret                  = true,
    gravityAffected         = true,
    noSelfDamage            = true,

    rgbColor                = [[0.5 0.5 0.5]],
    intensity               = 1.0,
	
    range                   = 300,
    reloadTime              = 0.4,
    areaOfEffect            = 16,
    craterBoost             = 0,
    craterMult              = 0,
    impulseFactor           = 0.1,
    impulseBoost            = 0.1,

    weaponVelocity          = 200,
    accuracy                = 700,
    movingAccuracy          = 1000,

    soundStart              = "cannon3",  --"canlite1",
    soundHit                = "xplosml4",  --"xplomed2",

    explosionGenerator      = "custom:PLASMABALL10",
    --explosionGenerator      = "custom:LIGHTARMS",

    damage = {
      default = 40,  --DPS: 40 / 0.3 = 100
    },

    customParams = {
      armorPenetration   = 80,
      impactDamage = {
        default = 40,
      },
      
      onlyTargetCategory = [[BUILDING TANK SHIP]],

      numberOfBarrels    = 3,
    },
  },
  
  C_MORTAR_HEAVY = {
    name                    = "Heavy Mortar",
    weaponType              = "Cannon",
    turret                  = true,
    gravityAffected         = true,
    myGravity               = 0.1,    
    highTrajectory          = 1,	  
    noSelfDamage            = true,

    rgbColor                = [[0.5 0.5 0.5]],  -- [[0.7 0.7 0]],  --yellow
    intensity               = 1.0,
	
    range                   = 1600,	 --1800  
    reloadTime              = 7.0,  --1B: 7.0  3B: 3.0
    areaOfEffect            = 112,
    craterBoost             = 0,
    craterMult              = 0,  --impulseFactor
    impulseFactor           = 0.1,	  
    impulseBoost            = 0.1,

    weaponVelocity          = 400,	  
    accuracy                = 700,
    movingAccuracy          = 900,  --?
    proximityPriority       = -2.0,    

    soundStart              = "cannhvy4",  --"cannhvy5",
    soundHit                = "xplomed4",  --"xplomed1",  --"xplomed2",
	  
    explosionGenerator      = "custom:PLASMABALL55",

    damage = {
      default = 700,  --DPS: 700 / 7.0 = 100
    },

    customParams = {
      armorPenetration  = 100,
      impactDamage = {
        default = 700,
      },

      badTargetCategory  = [[TANK SHIP]],  --SMALL_SHIP
      onlyTargetCategory = [[BUILDING TANK SHIP]],
      
      minimumRange      = 500,      
      supportedAccuracy = 500,
      
      numberOfBarrels   = 1,
      barrelsPenalty    = 0.5,

      rangeColor        = "ARTY",      
    },	
  },

  -- C_MORTAR_HEAVY_MINRANGE = {
    -- name                    = "Heavy Mortar Minimum Range",
    -- weaponType              = "Cannon",
    -- turret                  = true,
    -- myGravity               = 0.1,    
    -- highTrajectory          = 1,	  

    -- range                   = 500,	--1600  
    -- reloadTime              = 6.0,
    -- weaponVelocity          = 400,

    -- customParams = {
      -- badTargetCategory  = [[TANK SHIP]],  --SMALL_SHIP
      -- onlyTargetCategory = [[BUILDING TANK SHIP]],
    -- },    
  -- },
  
  NOWEAPON = {
    name  = "No Weapon",
    range = 0,  --16
    
    damage = {
      default = 0,
    },    
  },
  
--C_GRENADE_LAUNCHER  --_AUTOMATIC
--C_MISSILE_AIR_TO_AIR

}

Shared.weaponDefs = weaponDefs
Shared.CreateWeaponWithMoreBarrels ("C_MORTAR_HEAVY_3BARRELS", "Triple Heavy Mortar", 3, "C_MORTAR_HEAVY")  --DPS: 700 / 3.0 = 233

return lowerkeys(weaponDefs)